from django.shortcuts import render
from django.views import View
from django.http import JsonResponse
from .models import A
# Create your views here.


class A1(View):
    def post(self,request,*args,**kwargs):
        a = request.POST.get("a")
        a1 = A()
        a1.a = a
        a1.save()
        return JsonResponse({"ajkjhj":0})